package com.jyw.business.ast.domain.vo.web;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.common.annotation.Conversion;
import com.jyw.common.annotation.Excel;
import com.jyw.common.enums.ConversionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.util.Date;

@Data
@ApiModel("资产调拨-分页查询-返回实体")
@FieldNameConstants
public class AllocatePageVo {
    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 操作时间 */
    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 操作人 */
    @ApiModelProperty("操作人")
    @Conversion(value = ConversionType.USER,name = Fields.createUserName)
    private Long createUser;

    @ApiModelProperty("操作人名称")
    private String createUserName;

    /** 调入科室 */
    @ApiModelProperty("调入科室")
    @Conversion(value = ConversionType.DEPT,name = Fields.inDeptName)
    private Long inDept;

    @ApiModelProperty("调入科室名称")
    private String inDeptName;

    /** 调拨原因 */
    @ApiModelProperty("调拨原因")
    private String reason;
}
